/**
 * 此文件为基础配置文件，相关第三方依赖包和开放环境等，在这里配置
 */

const CONFIGS = {
    // 环境配置
    env: {
        default: "development", // 该字段为调试使用，配置了该字段，active字段不生效，优先级：default > active
        active: "development",// 默认为开发环境
        dev: "file", // 开发环境
        test: "test", // 测试环境
        pro: "http://www.t-super21.cn" // 正式环境
    },
    aesKey: "ab678cno9pqrstuv!@#$5%wxyZdefghijk12lN03mM4^&*()-_=+ABCDEFGHIJK[]{}|;:,.<>?zLOUVWPQRSTXY", // AES密钥  
    aMap: {
        key: AMAP_KEY || "",
        securityKey: SECURITY_KEY || ""
    },
    // 更新背景组件配置
    bgComponentConfig: {
        status: true,// 默认为自动更新
        times: 5 // 单位s
    },
    maxLoadingTimes: 5, // 模拟加载接口最大时间，单位s

    /**
     * 文件路径配置
     * {
     *  src  String 路径
     *  name String 名称
     *  type String 标签类型
     *  introType String 引入类型 local ｜ network
     *  }
     */
    PATHS: {
        //自定义js路径配置
        CUSTOMER_PATHS: {
            //配置文件
            configs: [
                {
                    src: "components/index.js",
                    name: "组件模块基本参数配置文件",
                    type: "script"
                }
            ],
            datas: [{
                src: "module/index.js",
                name: "静态数据文件",
                type: "script"
            }],
            // 工具类函数
            utils: [
                {
                    src: "utils/env.js",
                    name: "环境检测",
                    type: "script"
                },
                {
                    src: "utils/index.js",
                    name: "工具类函数文件",
                    type: "script"
                }, {
                    src: "utils/storage.js",
                    name: "本地存储工具文件",
                    type: "script"
                }],
            // 自定义背景模块
            bgComponents: [
                {
                    html: "buttom-waves",
                    src: "components/bgCanvas/buttomWaves/buttonWaves.js",
                    name: "粒子波浪组件",
                    type: "script"
                },
                {
                    html: "thunder-lightning",
                    src: "components/bgCanvas/thunderLightning/thunderLightning.js",
                    name: "雷电纹路组件",
                    type: "script"
                },
                {
                    html: "honey-pattern",
                    src: "components/bgCanvas/honeycombPattern/honeycombPattern.js",
                    name: "蜂窝纹路组件",
                    type: "script"
                }
            ],
            // 自定义div模块
            divComponents: [
                {
                    src: "components/templates/frame/frame.js",
                    name: "边角框1",
                    type: "script"
                },
                {
                    src: "components/templates/loading/loading.js",
                    name: "页面加载",
                    type: "script"
                },
                {
                    src: "components/templates/transparentSphere/transSphere.js",
                    name: "透明地球",
                    type: "script"
                },
                {
                    src: "components/templates/waterPolo/waterPolo.js",
                    name: "波浪水球",
                    type: "script"
                }
            ],
            // css样式
            css: [
                {
                    src: "static/css/index.css",
                    name: "基本样式",
                    type: "link"

                },
                {
                    src: "static/css/base.css",
                    name: "公共样式",
                    type: "link"
                },
                {
                    src: "static/css/media.css",
                    name: "媒体查询样式",
                    type: "link"
                }
            ]
        },
        //第三方js路径配置
        OTHERS_PATHS: {
            // iceUI 框架
            iceUI: [
                {
                    src: "lib/iceui/ui/ui.css",
                    name: "iceUI CSS文件",
                    type: "link"
                },
                {
                    src: "lib/iceui/ice.js",
                    name: "ice js 依赖",
                    type: "script"
                },
                {
                    src: "lib/iceui/ui/ui.js",
                    name: "iceUI JS 文件",
                    type: "script"
                }
            ],
            // crypto
            crypto: [{
                src: "https://cdnjs.cloudflare.com/ajax/libs/crypto-js/4.0.0/crypto-js.min.js",
                introType: "network",
                name: "crypto",
                type: "script"
            }]
        }
    }

}
